package com.yz.entity;

import javax.persistence.*;

public class Provider {
    @Id
    @Column(name = "provider_id")
    private Integer providerId;

    @Column(name = "provider_name")
    private String providerName;

    @Column(name = "provider_add")
    private String providerAdd;

    @Column(name = "provider_tel")
    private String providerTel;

    private String account;

    private String email;

    /**
     * @return provider_id
     */
    public Integer getProviderId() {
        return providerId;
    }

    /**
     * @param providerId
     */
    public void setProviderId(Integer providerId) {
        this.providerId = providerId;
    }

    /**
     * @return provider_name
     */
    public String getProviderName() {
        return providerName;
    }

    /**
     * @param providerName
     */
    public void setProviderName(String providerName) {
        this.providerName = providerName;
    }

    /**
     * @return provider_add
     */
    public String getProviderAdd() {
        return providerAdd;
    }

    /**
     * @param providerAdd
     */
    public void setProviderAdd(String providerAdd) {
        this.providerAdd = providerAdd;
    }

    /**
     * @return provider_tel
     */
    public String getProviderTel() {
        return providerTel;
    }

    /**
     * @param providerTel
     */
    public void setProviderTel(String providerTel) {
        this.providerTel = providerTel;
    }

    /**
     * @return account
     */
    public String getAccount() {
        return account;
    }

    /**
     * @param account
     */
    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "Provider{" +
                "providerId=" + providerId +
                ", providerName='" + providerName + '\'' +
                ", providerAdd='" + providerAdd + '\'' +
                ", providerTel='" + providerTel + '\'' +
                ", account='" + account + '\'' +
                ", email='" + email + '\'' +
                '}';
    }
}